package com.fzh.bookstore.biz.banner.service;

import com.fzh.bookstore.biz.banner.dto.BannerInfoReqest;
import com.fzh.bookstore.biz.banner.dto.BannerListRequest;
import com.fzh.bookstore.biz.banner.dto.BannerPositionRequest;
import com.fzh.bookstore.biz.banner.dto.BannerRequest;
import com.fzh.bookstore.biz.banner.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzh.bookstore.dto.SuperResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fang
 * @since 2021-02-25
 */
public interface BannerService extends IService<Banner> {


    SuperResponse list(BannerListRequest request);

    SuperResponse addBanner(BannerInfoReqest reqest);

    SuperResponse updateBanner(BannerInfoReqest reqest);

    SuperResponse delBanner(BannerRequest request);

    SuperResponse getBannerByPosition(BannerPositionRequest request);


}
